package com.itheima.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Ossian
 * @version v1.0
 * @date 2019/7/5 20:27
 * @description 操作记录实体类
 **/

@Data
public class Operation implements Serializable {
    private Integer id;
    private String operator;
    private Date operationDate;
    private String permissionName;
    private String type;
    private  Integer operationId;
    
    public Operation(String operator, Date operationDate, String permissionName, String type, Integer operationId) {
        this.operator = operator;
        this.operationDate = operationDate;
        this.permissionName = permissionName;
        this.type = type;
        this.operationId = operationId;
    }
}